from django.urls import re_path
from . import  views
urlpatterns=[
    re_path('^usernames/(?P<username>[a-zA-Z0-9_-]{5,20})/count/$',views.UsernameCountView.as_view()),
    re_path('^mobiles/(?P<mobile>1[3-9]\d{9})/count/$',views.UsermobileCountView.as_view()),
    re_path('^register/$',views.RegisterView.as_view()),
    re_path('^login/$',views.loginView.as_view()),
    re_path('^logout/$',views.LogoutView.as_view()),
    re_path('^info/$',views.UserInfoView.as_view()),
    re_path('^emails/$',views.EmailView.as_view()),
]